package com.wiz.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.wiz.mapper.ChargeHistoryMapper;
import com.wiz.service.ChargeHistoryService;
import com.wiz.to.ChargeHistoryTO;
import com.wiz.vo.criteria.DataSearchCriteriaTO;

@Service("chargeHistoryService")
public class ChargeHistoryServiceImpl implements ChargeHistoryService {
	private transient final Logger log = LoggerFactory.getLogger(getClass());

	@Resource
	private ChargeHistoryMapper chargeHistoryMapper;

	@Override
	public List<ChargeHistoryTO> getChargeHistorys(DataSearchCriteriaTO searchCriteria){
		return chargeHistoryMapper.getChargeHistoryListByCriteriaTO(searchCriteria);
	}

	@Override
	public int getChargeHistoryCntByCriteriaTO(DataSearchCriteriaTO searchCriteria){
		return chargeHistoryMapper.getChargeHistoryCntByCriteriaTO(searchCriteria);
	}


	
}